use serde::{Deserialize, Serialize};
use struct_field_names_as_array::FieldNamesAsSlice;

// 反馈表详情数据
#[derive(sqlx::FromRow, Deserialize, Serialize, FieldNamesAsSlice)]
pub struct FeedbackForm { 
    // 标题
    pub title: String, 
    // 邮箱
    pub email: String,
    // 内容
    pub content: String
}
